-- GENERATED SPELL FOR [Young Night Web Spider] --


function spell0_1504(pUnit, Event) --@Weak Poison,n/a--
pUnit:FullCastSpellOnTarget(6751,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1504', 12000, 1)
end

function Sorts_1504(pUnit, Event)
local choix_sorts_1504 = math.random(0, 0)
if choix_sorts_1504 == 0 then
pUnit:RegisterEvent('spell0_1504', 1, 1)
end
end

function mob1504_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1504', math.random(1500, 3000), 1)
end

function mob1504_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1504_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1504_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1504, 1, 'mob1504_Action')
RegisterUnitEvent(1504, 2, 'mob1504_Leave')
RegisterUnitEvent(1504, 3, 'mob1504_Kill')
RegisterUnitEvent(1504, 4, 'mob1504_Die')
